package com.guodu.dao;

import java.util.List;

import com.guodu.entity.FileTechnical;
import com.guodu.entity.PurchaseDistributionPlan;
import com.guodu.entity.PurchasedistributionStatus;
import com.guodu.entity.Units;
import com.guodu.vo.PurchaseDistributionPlanQueryVo;
import com.guodu.vo.PurchaseDistributionPlanVo;

public interface PurchaseDistributionPlanDao {

	PurchaseDistributionPlanVo findAllMoney(PurchaseDistributionPlanQueryVo pbpq, Units units);

	long findSizeByVo(PurchaseDistributionPlanQueryVo pdpq, Units units);
	
	public void examinAll(PurchaseDistributionPlanQueryVo pdpq, Units units);

	List<PurchaseDistributionPlan> findByVo(PurchaseDistributionPlanQueryVo pdpq, Units units, int curPage, int pageSize);

	void save(PurchaseDistributionPlan purchaseDistributionPlan);

	PurchaseDistributionPlan findById(String purchaseId);

	void update(PurchaseDistributionPlan purchaseDistributionPlan);

	List<PurchasedistributionStatus> findStatus(String purchaseId);

	void changeStatus(List<PurchasedistributionStatus> entities);

	void examine(String ids, Long status);

	void delByIds(String[] delIds);

	void saveFile(FileTechnical fileTechnical);

	List<FileTechnical> findFile(String purchaseId);

	void delZi(String technical);

	List<PurchaseDistributionPlan> findAllByVo(
			PurchaseDistributionPlanQueryVo pdpq, Units attribute);

}
